package com.aruba.paging.paging.factory;

import androidx.annotation.NonNull;
import androidx.paging.DataSource;

import com.aruba.paging.entity.Movie;
import com.aruba.paging.paging.model.MovieDataSource;

/**
 * Created by aruba on 2021/9/17.
 */
public class MovieDataSourceFactory extends DataSource.Factory<Integer, Movie> {

    @NonNull
    @Override
    public DataSource<Integer, Movie> create() {
        return new MovieDataSource();
    }

}
